# for i in range(10):
# ...     print(i)
# ...
# 0
# 1
# 2
# 3
# 4
# 5
# 6
# 7
# 8
# 9
# list(range(6, 10))
# [6, 7, 8, 9]
# list(range(10, 0, -1))
# [10, 9, 8, 7, 6, 5, 4, 3, 2, 1]
# [5 + 5 for i in range(1, 11)]  # 10的十遍
# [10, 10, 10, 10, 10, 10, 10, 10, 10, 10]
# [ 5 + i for i in range(1, 11) if i % 2 ==0]    #if过滤条件满足猜for循环
# [7, 9, 11, 13, 15]
#
# #区间内的偶数列表
# [5 + i for i in range(1, 11) if i % 2 != 0]
# [6, 8, 10, 12, 14]

#192.168.1.X 的ip地址；
# ['192.168.1.%s' % i for i in range(1, 255)]
# ['192.168.1.' + str(i) for i in range(1, 255)]
